<form action="?controller=Photo&action=add" method="post" enctype="multipart/form-data">
	<div class="input-row">
		<div class="colForm">
			<label for="file">Image</label>
			<br><br><br><br>
			<label for="url">Url</label>
		</div>
		<div class="colForm">
			<input type="file" name="image"><p style="width:300px;">(Taille inférieure à 500Ko)</p>
			<input type="text" name="url_photo" id="url_photo">
		</div>
	</div>
	<div class="input-row">
		<div class="colForm">
			<label for="category">Catégorie</label>
		</div>
		<div class="colForm">
			<input type="text" id="category" name="category">
<!-- 			<select name="category" id="category">
			<?php // foreach ($data->categories as $c): ?>
				<option value="<?php //echo $c->categorie; ?>"><?php //echo $c->categorie; ?></option>
			<?php // endforeach; ?>
			</select> -->
		</div>
	</div>
	<div class="input-row">
		<div class="colForm">
			<label for="comment">Commentaire</label>
		</div>
		<div class="colForm">
			<input type="text" name="comment" id="comment" />
		</div>
	</div>
	<div class="input-row">
		<input type="submit" value="Enregistrer" />
	</div>
</form>

